package com.jdrx.sw.sewage.beans.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel(value = "DispatchDTO", description = "维修保养申请")
public class DispatchDTO {
    @NotNull
    @ApiModelProperty(value = "类型（1 - 保养 2 -维修）")
    private Integer type;

    @NotNull
    @ApiModelProperty(value = "领用设备id")
    private Long devId;

    @NotNull
    @ApiModelProperty(value = "维保人id")
    private Long maintenanceById;

    @NotNull
    @ApiModelProperty(value = "维保人")
    private String maintenanceBy;

    @NotNull
    @ApiModelProperty(value = "派单人id")
    private Long singlePersonId;

    @NotNull
    @ApiModelProperty(value = "派单人")
    private String singlePerson;

    @NotNull
    @ApiModelProperty(value = "维保时间")
    private Date maintenanceTime;
}